<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"         
      xmlns:ui="http://java.sun.com/jsf/facelets">

    <h:body>
<ui:composition template="/templates/templateNECS.xhtml">

            <ui:define name="top">
                Criar Carrinho de Compras
            </ui:define>

            <ui:define name="left">
                <br /><br />       
                <h:outputLink value="admin_farmacia_carrinho_index.xhtml">voltar</h:outputLink>                                
            </ui:define>
        

       

           
        <ui:define name="content">
             <h:form>                  
                <h:panelGrid columns="3">

                    <h:outputLabel for="preco" value="Preço: " />
                    <h:inputText 
                            id="preco"
                            size="20"
                            required="true"
                            requiredMessage="Erro: Deve inserir um preço."                            
                            value="#{administradorManager.produtoNovo.preco}" />
                        <h:message for="username" errorStyle="color: red" />

                     <h:commandButton value="teste11" title="cenas" action="#{administradorManager.criarProduto}" />
                    <h:button value="teste" title="test1" />
                </h:panelGrid>
             </h:form>
        </ui:define>
    </ui:composition>
    </h:body>
</html>